Get loan by ID
GET /api/v1/Loans/:LoanId/get
Description
This endpoint is used to retrieve a loan by its ID.
Tags:
Loans
URL:
/api/v{version}/Loans/{LoanId}/get
ApiKey:
No API key required
Content-Type:
No request body
Query Parameters:
version: string, required
Accept-Language: header, optional, change the default response message language from English (en) to French (fr) or English (en)
Response:
Success, returns the loan object.
Error Codes:
400: Bad Request
404: Resource not found
500: Internal server error
Example:
GET /api/v1/Loans/123/get
Accept-Language: fr
/api/v1/Loans/:LoanId/get
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Response: 200
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/Loans/:LoanId/get \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!